﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"]</title>
    <link href="~/lib/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />
    <link href="~/lib/bootstrap/dist/css/bootstrap-grid.css" rel="stylesheet" />
    <link href="~/lib/bootstrap/dist/css/bootstrap-reboot.css" rel="stylesheet" />
</head>
<body>
    <div class="container">
        <nav class="navbar navbar-expand-sm bg-dark navbar-dark">
            <div id="collapseibleNavbar" class="collapse navbar-collapse">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a asp-controller="home" asp-action="index" class="nav-link btn btn-outline-primary m-3">学生列表</a>
                    </li>&nbsp;
                    <li class="nav-item">
                        <a asp-controller="home" asp-action="CreateStudent" class="nav-link btn btn-outline-primary m-3">添加学生</a>
                    </li>&nbsp;
                    <li class="nav-item">
                        <a asp-controller="home" asp-action="SelectStudent" class="nav-link btn btn-outline-primary m-3">查找学生</a>
                    </li>&nbsp;
                    <li class="nav-item">
                        <a asp-controller="home" asp-action="AddMajor" class="nav-link btn btn-outline-success m-3">添加专业</a>
                    </li>&nbsp;
                </ul>
            </div>
            <form asp-action="Logout" asp-controller="Account" method="post">
                @*<a class="btn btn-danger" asp-controller="Account" asp-action="Logout">注销</a>*@
                <button type="submit" class="btn btn-danger">注销</button>
            </form>
        </nav>
        @RenderBody()
    </div>

    <script src="~/lib/jquery/dist/jquery.js"></script>
    <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    @RenderSection("Scripts", required: false)
</body>

</html>
